package com.dmxh.api;

import com.dmxh.pojo.TbSeller;
import com.dmxh.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("dongdongshop-seller-service")
public interface SellerAPI {

    @PostMapping("/seller/queryByName")
    public TbSeller queryByName(@RequestBody String name);
}
